package demo1;

public class Test {
    public static void main1(String[] args) {
        Dog dog = new Dog();
        dog.name = "cai";
        dog.age = 10;
        dog.bark();
        Cat cat = new Cat();
        cat.name = "miao";
        cat.age = 10;
        cat.miu();
    }


    public static void main(String[] args) {
        Base_Son num1 = new Base_Son();
        num1.print();
    }
}
